<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>个人信息页</title>
        <link rel="stylesheet" href="../css/PsData.css"/>

    </head>

    <body>
        <div id="main">
			<div class="subject-main">

				<table align="center" style="width: 450px; height: 400px;margin-top: 50px;">
					<tr>
						<th>编号:</th><td>10</td><td rowspan="4">
							<img src="../images/职业照.jpeg" alt="" style="width: 190px; height: 230px;"></td>
					</tr>

					<tr>
						<th id="d">姓名:</th><td>嘎子</td>
					</tr>
					
					<tr>
						<th>职位:</th><td>副总经理</td>
					</tr>

					<tr>
						<th>职务:</th><td>买假酒</td>
					</tr>

					<tr>
						<th>入职时间:</th><td colspan="2">2019-6-6</td>
					</tr>

					<tr>
						<th>电话:</th><td colspan="2">12332122347</td>
					</tr>

					<tr>
						<th>邮箱:</th><td colspan="2">1433223136.com</td>
					</tr>

					<tr>
						<th>个人简介:</th>
						<td colspan="2"><textarea cols="40" rows="4"></textarea></td>
					</tr>
				</table>
				
				<button type="button" class="btn btn-primary" style="margin-left: 750px;" data-toggle="modal"
                    data-target="#edit-modal">编辑
                </button>
			</div>
			
			
			
		</div>
		<script>
			let baseUrl = "http://localhost:8080/company"

			// function getPageInfo(){
			// 	$.ajax({
			// 		url: baseUrl + "/psldata",
			// 		type: "post", //默认get
			// 		dataType: "json",
			// 		data: ``,
			// 		success: function(data){
			// 			console.log(data)
			// 			if(data.code == 200) {
			// 				// 动态渲染画面
			// 				showDutys(data.pageInfo)
			// 			}
			// 		}
			// 	})
			// }
			function displayPsldata(){
				$.ajax({
					url:baseUrl + "/psldata",
					type:"post",
					dataType:"json",
					success:function(data){
						console.log(data)
						if(data.code == 200){
							showPsldata(data.displayPsldata)
						}
					}
				})
			}
			function showPsldata(){
				let tr
			}
		</script>
    </body>
</html>